package com.itheima.Day02test01;

public class yamaha extends motorvehicles {
    public yamaha() {
    }

    public yamaha(String brand, String price) {
        super("雅马哈摩托", price);
    }

    @Override
    public void method1() {
        System.out.println("雅马哈摩托车");
    }

}
